<?php
/**
 * Created by PhpStorm.
 * User: wodrow
 * Date: 2019/2/7
 * Time: 21:02
 */
/**
 * @var \yii\web\View $this
 * @var \backend\models\FormResetPassword $model
 */
use yii\widgets\ActiveForm;
use yii\helpers\Html;
$this->title = "重置密码";
?>

<div class="row">
    <div class="col-sm-5">
        <?php $form = ActiveForm::begin(); ?>
        <?=$form->field($model, 'old_password')->passwordInput() ?>
        <?=$form->field($model, 'password')->passwordInput() ?>
        <?=$form->field($model, 'repassword')->passwordInput() ?>
        <?=Html::submitButton("重置密码", ['class' => "btn btn-primary"]) ?>
        <?php ActiveForm::end(); ?>
    </div>
</div>
